package com.example.demo.spring;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

/**
 * @author Rocket
 * @version 10.0.1
 * @date 2021-08-22 1:46 PM
 */
@Service
public class RolesManager {

    @Autowired
    @Qualifier("adminUser")
    private User user;

    public void rolesManage() {
        System.out.println(user);
    }

}
